﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace frontend_wcf
{
    public partial class FrmLogin : Form
    {
        FrmMain parent;
        public FrmLogin(FrmMain parent)
        {
            this.parent = parent;
            InitializeComponent();
        }

        private void btn_Login_Click(object sender, EventArgs e)
        {
            parent.Username = txt_Username.Text;
            parent.Password = txt_Password.Text;
        }
    }
}
